package cn.coisini.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @author xiangshaw
 * Description: 轮播图数据传输对象
 */
@Tag(name = "轮播图数据传输对象")
@Getter
@Setter
public class CarouselDto {

    @Schema(description = "主键ID")
    private String id;

    @Schema(description = "轮播图地址")
    private String carouselUrl;

    @Schema(description = "轮播图跳转地址")
    private String redirectUrl;

    @Schema(description = "轮播图排序")
    private Integer carouselRank;

    @Schema(description = "创建者ID")
    private String createUser;

    @Schema(description = "更新者ID")
    private String updateUser;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "删除标记（0可用 1已删除）")
    private Boolean delFlag;
}
